package cn.yunyichina.provider.merchant.service;

import cn.yunyichina.provider.iface.entity.common.Response;
import cn.yunyichina.provider.merchant.entity.MerchantConfig;
import cn.yunyichina.provider.merchant.entity.MerchantMessage;
import cn.yunyichina.provider.merchant.entity.MethodRouter;

/**
 * Created by kevin on 2017/12/7.
 * 云医生默认的调用方式
 */
public interface DefaultService {

    /**
     * 通知订单已经支付
     * @param merchantConfig
     * @param merchantMessage
     * @param methodRouter
     */
    Response notifyPayedOrder(MerchantConfig merchantConfig, MethodRouter methodRouter, MerchantMessage merchantMessage);
}
